package com.huaruan.food.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * SysRoleinfo entity. @author MyEclipse Persistence Tools
 */

public class SysRoleinfo implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private String descript;
	private Set<SysUserinfo> sysUserinfos = new HashSet<SysUserinfo>(0);

	// Constructors

	/** default constructor */
	public SysRoleinfo() {
	}

	/** full constructor */
	public SysRoleinfo(String name, String descript, Set<SysUserinfo> sysUserinfos) {
		this.name = name;
		this.descript = descript;
		this.sysUserinfos = sysUserinfos;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescript() {
		return this.descript;
	}

	public void setDescript(String descript) {
		this.descript = descript;
	}

	public Set<SysUserinfo> getSysUserinfos() {
		return this.sysUserinfos;
	}

	public void setSysUserinfos(Set<SysUserinfo> sysUserinfos) {
		this.sysUserinfos = sysUserinfos;
	}

}